package de.fu_berlin.minesweeper;

import javax.swing.JFrame;

/**
 * GUI Window - TASK 3c
 */
public class MainWindow extends JFrame{
	public GameUI hGUI;
	
	public MainWindow(){
		this.hGUI = new GameUI(16, 16, 0.25f); // test params
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setTitle("YAMG - Yet Another Minesweeper Game");
		
		this.add(hGUI);
		this.pack();
		this.setSize(800, 600);
	}
	
	public static void main(String[] args) {
		MainWindow hWnd = new MainWindow(); 		

		hWnd.setVisible(true);
	}

}
